//
//  main.m
//  AutoConversion
//
//  Created by Ge Jian Feng on 14-5-27.
//  Copyright (c) 2014年 Ge Jian Feng. All rights reserved.
//

#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{

    @autoreleasepool {
        
        int a = 6;
        float f = a;
        NSLog(@"%g", f);
        
        short b = 65;
        char c = b;
        NSLog(@"%c", c);
        
        double d = b;
        NSLog(@"%g", d);
        
        double d2 = 97.433;
        int it = d2;
        NSLog(@"%d", it);
        
        char ch = d2;
        NSLog(@"%c", ch);
        
        int iValue = 33000;
        short sValue = iValue;
        NSLog(@"%d", sValue);
        
    }
    return 0;
}

